📓 Table of Contents 📚 Resources ✉️ Chat
A large repository of japanese subtitles that is updated reasonably often and has a clean design.| The most popular one, you can upload your own subs.| Often have to be retimed.
Object.deepEqualLite ??= function(target, source) { | |
if (target === null || source === null) | |
return target === source; | |
if (typeof target !== 'object' || typeof source !== 'object') | |
return Object.is(target, source); | |
let tor = target.constructor; | |
if (tor !== source.constructor) | |
return false; | |
if (tor === undefined) { | |
const tag = Object.prototype.toString.call(target); |
📓 Table of Contents 📚 Resources ✉️ Chat
A large repository of japanese subtitles that is updated reasonably often and has a clean design.| The most popular one, you can upload your own subs.| Often have to be retimed.
{ | |
"latest": "1.20.6", | |
"versions": { | |
"1.20.6": "https://api.papermc.io/v2/projects/paper/versions/1.20.6/builds/28/downloads/paper-1.20.6-28.jar", | |
"1.20.5": "https://api.papermc.io/v2/projects/paper/versions/1.20.5/builds/22/downloads/paper-1.20.5-22.jar", | |
"1.20.4": "https://api.papermc.io/v2/projects/paper/versions/1.20.4/builds/496/downloads/paper-1.20.4-496.jar", | |
"1.20.2": "https://api.papermc.io/v2/projects/paper/versions/1.20.2/builds/318/downloads/paper-1.20.2-318.jar", | |
"1.20.1": "https://api.papermc.io/v2/projects/paper/versions/1.20.1/builds/196/downloads/paper-1.20.1-196.jar", | |
"1.20": "https://api.papermc.io/v2/projects/paper/versions/1.20/builds/17/downloads/paper-1.20-17.jar", | |
"1.19.4": "https://api.papermc.io/v2/projects/paper/versions/1.19.4/builds/550/downloads/paper-1.19.4-550.jar", |
using System; | |
using System.Collections.Generic; | |
/// <summary> | |
/// Représente les coordonnées d'une cellule dans une grille. | |
/// </summary> | |
public class CellCoordinates | |
{ | |
public int X { get; set; } | |
public int Y { get; set; } |
using System; | |
using System.Collections.Generic; | |
/// <summary> | |
/// Représente les coordonnées d'une cellule dans une grille. | |
/// </summary> | |
public class CellCoordinates | |
{ | |
public int X { get; set; } |
#Git notes
Warning : Support for isplay of git notes has been dropped by github : https://github.com/blog/707-git-notes-display
Resource : https://vimeo.com/34273537
##Add
git notes add
All of the below properties or methods, when requested/called in JavaScript, will trigger the browser to synchronously calculate the style and layout*. This is also called reflow or layout thrashing, and is common performance bottleneck.
Generally, all APIs that synchronously provide layout metrics will trigger forced reflow / layout. Read on for additional cases and details.
elem.offsetLeft
, elem.offsetTop
, elem.offsetWidth
, elem.offsetHeight
, elem.offsetParent
To be ran with:
claude-3-opus-20240229
0.0
Context: https://twitter.com/VictorTaelin/status/1776677635491344744
#include <iostream> | |
#include <fstream> | |
#include <cstdlib> // For rand() and srand() | |
#include <ctime> // For time() | |
#include <string> | |
#include <vector> | |
const int MAX_WIDTH = 50; | |
const int MAX_HEIGHT = 40; | |
const int MAX_FIRE_DISTANCE = 10; |
import { useEffect, useRef, useState } from 'react'; | |
import { useFrame, useThree } from '@react-three/fiber'; | |
import { MapControls, OrthographicCamera, PerspectiveCamera } from '@react-three/drei'; | |
import type { OrbitControls as OrbitControlsImpl } from 'three-stdlib'; | |
export function Camera() { | |
const [oldType, setOldType] = useState('PerspectiveCamera'); | |
const [coords, setCoords] = useState({ x: 0, y: 0 }); | |
const gl = useThree((state) => state.gl); |